package com.example.vertification.repository;


import com.example.vertification.entity.CartItem;
import com.example.vertification.entity.UserCartItems;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserCartItemsRepository extends JpaRepository<UserCartItems, Long> {


        UserCartItems findByexchangeid(Long cart_id);


        List<UserCartItems> findAllByuid(long uid);


}